<html>
	<head>
      <title>Indicadores Entrega</title>
   </head>

<body>
    <div class="table_container">
<form action="indicadoresentrega" name="commentForm" method="post"/>
<table>
<?php 
  $semanaFiltro = $this->session->userdata('semAc');
?>

<tr>
      <td><div id="titulo">Indicadores Entrega</div></td>
</tr>
<tr>
<td style="background: #D9E6F0;border: 1px solid #C3AA64; height: 23px; width:23%">
<?php echo form_open("indicadoresentrega", array('name' => 'commentForm','id' => 'commentForm'));?> 
  Semanas:<select name="filtrosema" id = "filtrosema" >
           <option value="9"  <?php if ($semanaFiltro == 9):?>selected="selected"<?php endif;?>>10</option>
           <option value="15" <?php if ($semanaFiltro == 15):?>selected="selected"<?php endif;?>>16</option>
           <option value="25" <?php if ($semanaFiltro == 25):?>selected="selected"<?php endif;?>>26</option>
           <option value="51" <?php if ($semanaFiltro == 51):?>selected="selected"<?php endif;?>>52</option>
 </select>
 
 <input type="submit" value="Buscar"/><br/>

 <?php if($this->session->userdata('semAc')){?>
		
 	  						<b style="color:blue">Semana:</b>
                            <b style="color:red"><?php echo "El numero de Semana es: ".$semanaFiltro+=1; ?></b>
 
 <?php  }?>
  </td>
 	</tr>
	 </form>
 <table>
 	<tr>
 		<td colspan="2"><?php echo $entregadosPend;?></td>
 		<td><?php echo $diasentrega;?></td>
 	</tr>
 	
 	<tr>
 		<td colspan="2"><?php echo $cantidadComp;?></td>
 		<td><?php echo $porcentajentre;?></td>
 	</tr>

 </table> 		
      </div>
  </body>
</html>
